package com.baizhi.reflect;

import java.util.Scanner;

public class Reflect02 {
    public static void main(String[] args) throws ClassNotFoundException {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入类名");
        String name = scan.next();
        Class<?> aClass = Class.forName(name);

        System.out.println(aClass);
    }
}
